package com.boot.common.message;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @author Cheng JiYe
 * @description:
 * @date 2020/10/2 18:51
 */
@Data
public class RequestPageHead implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty("当前页码")
    protected int pageNum = 1;

    @ApiModelProperty("每页数量（默认：10）")
    protected int pageSize = 10;

    @ApiModelProperty("是否分页（默认：是）")
    protected boolean page = true;

    public static long getSerialversionuid() {
        return serialVersionUID;
    }

}
